/*	Script written by Yoni Couriel
	ycouriel@gmail.com             
*/


document.write(
  "<form method='POST' action='http://www.blogger.com/add-widget'>"
+ "<input type='hidden' name='widget.title' value=''/>"
+ "<input type='hidden' name='widget.content' value=\""
+ "&lt;script type='text/javascript' src='http://jscsharpformatter.googlecode.com/svn/trunk/publish/csharp_formatter_normal.js'&gt;&lt;/script&gt;"
+ "&lt;script type='text/javascript'&gt;"
+ "(function(){"
+ "var howMany = findAndFormatCSharp();"
+ "document.write(&quot;&lt;a href='http://ycouriel.blogspot.com/2010/02/add-c-code-formatter-widget-to-your.html' target='_blank'&gt;&quot; + howMany + &quot; C# element&quot; + (howMany==1?&quot; was&quot; : &quot;s were&quot;) + &quot; formatted&lt;/a&gt;&quot;);})();"
+ "&lt;/script&gt;"
+ "\"/>"
+ "<input type='hidden' name='widget.template' value='&lt;data:content/&gt;' />"
+ "<input type='hidden' name='infoUrl' value='http://code.google.com/p/jscsharpformatter/'/>"
+ "<input type='hidden' name='logoUrl' value='http://jscsharpformatter.googlecode.com/svn/trunk/publish/logo.png'/>"
+ "<input type='submit' name='go' value='Add C# Code Formatter Widget'/>"
+ "</form>"
);
